package marsdonne.demo4gorm.domains

import grails.gorm.annotation.Entity

@Entity
class Person {
    String firstName
    String lastName

    static constraints = {
        firstName(blank: false)
        lastName(nullable: true)
    }
}
